package com.cskaoyan.service;

import com.cskaoyan.bean.bo.CateUpdateBoo;
import com.cskaoyan.bean.bo.CategoryCreateBo;
import com.cskaoyan.bean.bo.CategoryDeleteBo;
import com.cskaoyan.bean.bo.CategoryUpdateBo;
import com.cskaoyan.bean.vo.CategoryCreateVo;
import com.cskaoyan.bean.vo.CategoryL1Vo;
import com.cskaoyan.bean.vo.CategoryListVo;

import java.util.List;

/**
 * @Description:商品类目
 * @Author: chaohe@com.cskaoyan
 * @Date: 2021/7/9
 * @Time: 16:29
 */
public interface CategoryService {
    //商品类目的回显
    List<CategoryListVo> list();

    //回显出一级目录
    List<CategoryL1Vo> l1();

    //删除
    void delete(CategoryDeleteBo categoryDeleteBo);

    //添加
    CategoryCreateVo create(CategoryCreateBo categoryCreateBo);

    //更新
    void update(CategoryUpdateBo categoryUpdateBo);
}
